/*
 * Copyright (c) Ulrich Hilger, http://dev.uhilger.de, all rights reserved.
 *
 * Published under the terms and conditions of the Apache License 2.0,
 * see http://www.apache.org/licenses/LICENSE-2.0
 */

package de.uhilger.servicehub.server;

import de.uhilger.servicehub.server.AppServer.ServerPart;

/**
 * Classes that like to be informed about changes to the status of a AppServer
 * need to implement this interface.
 *
 * @author Ulrich Hilger, <a href="http://dev.uhilger.de" target="_blank">http://dev.uhilger.de</a>
 * @author Published under the terms and conditions of
 * the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License 2.0</a>
 */
public interface ServerStatusListener {
  /**
   * The status of a server changed when this method is called
   *
   * @param server  the server whose status has changed
   * @param part  the server part that changed
   */
  public void serverStatusChanged(AppServer server, ServerPart part);
}
